package org.footballmanager.pandafootball.system.service;

import org.footballmanager.pandafootball.system.domain.FootTax;
import org.footballmanager.pandafootball.system.form.impl.FootTaxSearchForm;
import org.springframework.ui.Model;

import javax.servlet.http.HttpServletRequest;

public interface FootTaxService extends BaseService<FootTax> {
	/**
	 * 获取交易税
	 * @return
	 */
	double getDealTax();
	
	/**
	 * 获取解约返还百分比
	 * @return
	 */
	double getDismissTax();

    /**
     * 查询
     * @param entityname 实体类名
     * @param map 参数
     * @param footTaxSearchForm 条件
     */
    void search(String entityname, Model map, FootTaxSearchForm footTaxSearchForm);

    /**
     * 删除所有
     * @param footTaxSearchForm 条件
     * @param request 请求
     */
    void deleteAll(FootTaxSearchForm footTaxSearchForm, HttpServletRequest request);
}